package com.blb.day20231116redis.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.day20231116redis.pojo.Score;

import java.util.List;

public interface ScoreService extends IService<Score> {

    Score getScoreById(Long id);

    List<Score> getAll();

    IPage<Score> getScorePage(Long current, Long size);

    Score updateScore(Score score);

    Score saveScore(Score score);

    void deleteScore(Long id);
}
